<B:UIWS x:Class="WPFExcelReport.UWS03SJH"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:B="clr-namespace:WPFExcelReport;assembly=TWASTAMM"  
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                   x:Name="TV"
                     FontSize="16"
                    Loaded="Window_Loaded" 
      >
    <B:UIWS.Resources>
        <CollectionViewSource  x:Key="vwMaster"  />
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby10000  x:Key="dw"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </B:UIWS.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
            <ColumnDefinition Width="Auto"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <WrapPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="5" Margin="0,10,0,0">
            <TextBlock Margin="5,0,0,0" Text="{Binding Source={Localization:Translate Word=经纱克重:}}"/>
            <TextBlock Margin="5,0,0,0" Text="{Binding WKG,ElementName=TV,Converter={StaticResource d100}}"/>
            <TextBlock Margin="5,0,0,0" Text="{Binding Source={Localization:Translate Word=纬纱克重:}}"/>
            <TextBlock Margin="5,0,0,0" Text="{Binding FKG,ElementName=TV,Converter={StaticResource d100}}"/>
            <TextBlock Margin="5,0,0,0" Text="{Binding Source={Localization:Translate Word=克重:}}"/>
            <TextBlock Margin="5,0,0,0" Text="{Binding RGRQM,ElementName=TV}"/>
            <TextBlock Margin="5,0,0,0" Text="{Binding Source={Localization:Translate Word=密度:}}"/>
            <TextBox Visibility="Collapsed" Text="{Binding WAFDDIM}" Width="30"/>
            <SD:TSSD0181  Margin="0,0,0,0" Width="80" Grid.Row="1" Grid.Column="2" Name="c181"   
                                  LMS="INC;"
                                  KEY="{Binding DENUM,ElementName=TV}"  
                                  IsEdit="{Binding IsEdit,ElementName=TV}" />
        </WrapPanel>

        <WrapPanel  Grid.Row="2" Grid.Column="1" Margin="0,10,0,0">

            <TextBlock Margin="5,0,0,0" Grid.Row="0"  
                       Text="{Binding Source={Localization:Translate Word=纬密:}}" HorizontalAlignment="Center"/>
            <ex:NumericBox Grid.Row="1"  Width="80"   Text="{Binding GFDISM,Converter={StaticResource ResourceKey=d100},ElementName=TV}" 
                           DecimalPlaces="1"
                               IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" />


            <TextBlock Margin="5,0,0,0"  Text="{Binding Source={Localization:Translate Word=幅宽:}}"/>
            <ex:NumericBox  Width="80"  Text="{Binding RWBRT,Converter={StaticResource ResourceKey=d10},ElementName=TV}" 
                               IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"/>
            <TextBlock   Margin="5,0,0,0" Text="{Binding Source={Localization:Translate Word=机上幅宽:}}"/>

            <ex:NumericBox  Width="80"  Text="{Binding RBRTOL,Converter={StaticResource ResourceKey=d10},ElementName=TV}" 
                               IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"/>

        </WrapPanel>

        <WrapPanel Grid.Row="4" Grid.Column="1" Grid.ColumnSpan="2" Margin="0,10,0,0"> 
            <TextBlock Margin="5,0,0,0" FontSize="18" Text="{Binding Source={Localization:Translate Word=总经:}}"/>
            <TextBlock Margin="5,0,0,0" FontSize="18"  Foreground="Red" Text="{Binding WARPENDS,ElementName=TV}"/> 
        </WrapPanel> 
    </Grid>
</B:UIWS>
